package com.example.demo.mapper;
/* @Author      zouzh
 * @PackageName transaction-demo
 * @Package     com.example.demo.mapper
 * @Date        2023/8/26 17:36
 */

import com.example.demo.model.Userinfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("insert into user(id, name) values(#{id}, #{name})")
    int add(Userinfo userinfo);
}
